package jin.si.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * ClassName:JsCommentLikee
 * Package:jin.si.pojo
 * Description:
 *
 * @Date:2022/3/24 15:57
 * @Author: XJR
 */
public class JsCommentLike {
        private Integer id;
        private Integer courseId;
        private Integer commentId;
        private Integer userId;
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
        private Date createDate;
        private Integer userType;
        private String productType;
        private Integer productId;
        private Integer type;
        private Integer display;
        private Integer status;
        private Integer likeNum;


        public JsCommentLike() {
            super();
        }

        public JsCommentLike(Integer id, Integer courseId, Integer commentId, Integer userId, Date createDate, Integer userType, String productType, Integer productId, Integer type, Integer display, Integer status, Integer likeNum) {
            this.id = id;
            this.courseId = courseId;
            this.commentId = commentId;
            this.userId = userId;
            this.createDate = createDate;
            this.userType = userType;
            this.productType = productType;
            this.productId = productId;
            this.type = type;
            this.display = display;
            this.status = status;
            this.likeNum = likeNum;
        }

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public Integer getCourseId() {
            return courseId;
        }

        public void setCourseId(Integer courseId) {
            this.courseId = courseId;
        }

        public Integer getCommentId() {
            return commentId;
        }

        public void setCommentId(Integer commentId) {
            this.commentId = commentId;
        }

        public Integer getUserId() {
            return userId;
        }

        public void setUserId(Integer userId) {
            this.userId = userId;
        }

        public Date getCreateDate() {
            return createDate;
        }

        public void setCreateDate(Date createDate) {
            this.createDate = createDate;
        }

        public Integer getUserType() {
            return userType;
        }

        public void setUserType(Integer userType) {
            this.userType = userType;
        }

        public String getProductType() {
            return productType;
        }

        public void setProductType(String productType) {
            this.productType = productType;
        }

        public Integer getProductId() {
            return productId;
        }

        public void setProductId(Integer productId) {
            this.productId = productId;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public Integer getDisplay() {
            return display;
        }

        public void setDisplay(Integer display) {
            this.display = display;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public Integer getLikeNum() {
            return likeNum;
        }

        public void setLikeNum(Integer likeNum) {
            this.likeNum = likeNum;
        }

        @Override
        public String toString() {
            return "JsCommentLike{" +
                    "id=" + id +
                    ", courseId=" + courseId +
                    ", commentId=" + commentId +
                    ", userId=" + userId +
                    ", createDate=" + createDate +
                    ", userType=" + userType +
                    ", productType='" + productType + '\'' +
                    ", productId=" + productId +
                    ", type=" + type +
                    ", display=" + display +
                    ", status=" + status +
                    ", likeNum=" + likeNum +
                    '}';
        }
}
